package com.cherry.javaee.demo.dao;

import com.cherry.javaee.demo.domain.User;

import java.util.List;

public interface IUserDao {

    List<User> findAllUser();


    User findUser(Long id);

    void saveUser(User user);

    void update(User user);

    void deleteUser(Long id);
}
